﻿using B.S.DataBase.ErrorCode;
using MediatR;

namespace B.S.DataBase.Write.API.Application.Commands.Update
{
    public class UpdateProductCommand:IRequest<APIResult<int>>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 商品外键
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 批次Id
        /// </summary>
        public string BatchId { get; set; }

        /// <summary>
        /// 保质期
        /// </summary>
        public int KeepSafe { get; set; }

        /// <summary>
        /// 生产许可证
        /// </summary>
        public string Permission { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string FirmName { get; set; }
    }
}
